class TimeLineEntity {
  List<TimeLinesInfo>? rows;

  TimeLineEntity({
    this.rows,
  });

  factory TimeLineEntity.fromJson(Map<String, dynamic> json) {
    final originList = json['rows'] as List?;
    List<TimeLinesInfo> protocolList =
        (originList??[]).map((value) => TimeLinesInfo.fromJson(value)).toList();
    return TimeLineEntity(
      rows: protocolList,
    );
  }
}

class TimeLinesInfo {
  String? operateContentName;
  String? createdByName;
  String? createdDate;

  TimeLinesInfo({
    this.operateContentName,
    this.createdByName,
    this.createdDate,
  });

  TimeLinesInfo.fromJson(Map data) {
    operateContentName = data['operateContentName'];
    createdByName = data['createdByName'];
    createdDate = data['createdDate'];
  }
}
